import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useToolStore = defineStore('tools', () => {
  //UI展示
  const UIShow = ref(true)
  // 图层树展示
  const LayerTreeShow = ref(false)
  //图层树结构
  const InfoTree = ref(null)
  //导览列表展示
  const AnimationShow = ref(false)
  //气象展示
  const WeatherShow = ref(false)
  return { UIShow, LayerTreeShow, InfoTree, AnimationShow, WeatherShow }
})
